#!/bin/sh
if [ -d "../.cabal-sandbox" ]; then
  ghc -i../src \
    -no-user-package-db \
    -package-db ../.cabal-sandbox/*-packages.conf.d \
    -DSAMPLES "$@" -e main
else
  ghc "$@" -e main
fi
